/**
 * Copyright &copy; 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.jims.master.modules.base.netHosptial.service;
import com.jims.master.common.persistence.Page;
import com.jims.master.common.service.CrudService;
import com.jims.master.modules.base.netHosptial.dao.NetDeptDictDao;
import com.jims.master.modules.base.netHosptial.entity.NetDeptDicts;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * 医院科室字典表Service
 * @author qlx
 * @version 2016-06-24
 */
@Service
@Transactional(readOnly = true)
public class NetDeptDictService extends CrudService<NetDeptDictDao, NetDeptDicts> {

	@Override
    public NetDeptDicts get(String id) {
		return super.get(id);
	}
	
	@Override
    public List<NetDeptDicts> findList(NetDeptDicts deptDict) {
		return super.findList(deptDict);
	}
	
	@Override
    public Page<NetDeptDicts> findPage(Page<NetDeptDicts> page, NetDeptDicts deptDict) {
		return super.findPage(page, deptDict);
	}
	@Override
    @Transactional(readOnly = false)
	public int save(NetDeptDicts deptDict) {
		return super.save(deptDict);
	}
	
	@Override
    @Transactional(readOnly = false)
	public int delete(NetDeptDicts deptDict) {
		return super.delete(deptDict);
	}

	public List<NetDeptDicts> findListByEntity(NetDeptDicts deptDict) {
		return dao.findListByEntity(deptDict);
	}

}